| lcPaint_PtbufAddArcCSL | Home |
|
BOOL lcPaint_PtbufAddArcCSL ( HANDLE hPtbuf, double Xc, double Yc, double Xs, double Ys, double ChordLen, BOOL bClockwise, int Resol ); |
| hPtbuf | |
| Handle to points buffer. | |
| Xc Yc | |
| Arc center point coordinates. | |
| Xs Ys | |
| Arc start point coordinates. | |
| ChordLen | |
| Arc chord length (between start and end point). | |
| bClockwise | |
|
Defines arc direction: TRUE - clockwise, FALSE - counter-clockwise. | |
| Resol | |
|
Arc resolution. The value means a number of points per 360 degrees. Can be only the following vales: 16, 32, 64, 128, 256, 512. If the arc included angle is so low that result number of points is less then 5, then the function adds an extra points. | |
| If the function succeeds, the return value is nonzero (TRUE). |
| To know the number of points was added by this function, read the global property LC_PROP_G_PTBUFNEWPTS just after the function execution. |
| lcPaint_PtbufAddArcCSE, lcPaint_PtbufAddArcCSA, lcPaint_PtbufAddArcCRAA |